package work.skc.customer_task_record;

public interface Setting {
    String baseUrl = "https://member-admin-api.kiehls.com.cn/gateway/api";
    String token = "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJtYW5hZ2VyIiwiY2xpZW50VHlwZSI6InVzZXIiLCJ0ZW5hbnRJZCI6ImxvcmVhbCIsImV4cCI6MTY5NTYzMDUxMiwianRpIjoiVzJ4bW90WmpWTm00VVpWNEVvVHEzZiJ9.juMKGhoQbWvG1rjFlxn5UI0kGDu7A8V9u8QUXfdkHzYsRk9T5rSLPZpjyDiL4pHnVOMijH251GvCZyWwxRfglA";
    String fileBase = "C:\\work-records\\z照相机\\l-会员任务记录插入\\2023-09-25\\";
    String data = fileBase + "data.csv";
    String setup1 = fileBase + "setup1.xlsx";
    String setup2 = fileBase + "setup2.js";


    String insertSql = """
            db.kiehls_customer_task_record.insertMany([
            %s
            ])
            """;

    String inserItemSql = """
            {
                "_id": "KIEHSL%s",
                "channelId": "sys",
                "setupId": "vvip_activity",
                "businessType": "vvip_activity",
                "customerId": "%s",
                "taskStatus": "complete",
                "statusHistories": [
                    {
                        "status": "complete",
                        "updatedTime": ISODate("%s"),
                        "reason": "新增"
                    }
                ],
                "giftStatus": "gifted",
                "customerDetail": {
                    "customerId": "%s",
                    "realName": "%s",
                    "nickName": "%s",
                    "avatarUrl": "%s",
                    "mobile": "%s",
                    "thirdCode": "%s",
                    "miniOpenId": "%s",
                    "miniUnionId": "%s"
                },
                "sendGift": {
                    "sendPointsFlag": false,
                    "pointsNum": NumberInt("0"),
                    "sendCoupon": false,
                    "couponTemplateId": ""
                },
                "updateTime": ISODate("%s"),
                "createTime": ISODate("%s"),
                "_class": "cn.com.connext.saas.member.core.entity.customer.customertask.CustomerTaskRecord"
            },
            """;
}
